package com.wty.design.creational.abstractFactory;

public class Test {
    public static void main(String args[]){
        CourseFactory javaCourseFactory=new JavaCourseFactory();
        javaCourseFactory.getArticle().produce();
        javaCourseFactory.getVideo().produce();

        CourseFactory pythonCourseFactory=new PythonCourseFactory();
        pythonCourseFactory.getArticle().produce();
        pythonCourseFactory.getVideo().produce();
    }
}
